package com.jymj.dao;

import com.jymj.entity.model.CommonEnumEnty;
import com.jymj.entity.zjd.ZjdCountEntity;
import com.jymj.entity.zjd.ZjdFileEntity;
import com.jymj.entity.zjd.ZjdLzEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * Created by ljj on 2019/10/14.
 */
@Mapper
public interface ZjdLzDao extends BaseDao<ZjdLzEntity> {

    List<CommonEnumEnty> queryFileStatus(Map map);

    List<ZjdLzEntity> queryListById(Integer[] id);

    void updateYl(@Param("ylId") Integer ylId, @Param("sptype") Integer sptype);

    void updateYlBatch(Map map);

    List<ZjdLzEntity> queryTypeCount(Map map);

    ZjdLzEntity queryObjectByylId(Integer objectid);

    ZjdCountEntity queryAllCount(@Param("point") String point, @Param("code") String code);
}
